/**
 * 
 */
package hr.fer.zemris.annotator.factories;

import java.util.List;

import hr.fer.zemris.annotator.model.Method;
import hr.fer.zemris.annotator.model.interfaces.ICallGraphDataFactory;
import hr.fer.zemris.annotator.model.interfaces.IMethodFactory;
import hr.fer.zemris.annotator.model.profiling.CallGraphData;

/**
 * @author dajan
 * 
 */
public class CallGraphDataFactory implements ICallGraphDataFactory {

	private static ICallGraphDataFactory instance = null;

	public static ICallGraphDataFactory getInstance() {
		if (instance == null) {
			instance = new CallGraphDataFactory();
		}
		return instance;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see hr.fer.zemris.annotator.model.interfaces.ICallGraphDataFactory#
	 * getCallGraphData(java.util.List, java.lang.String)
	 */
	@Override
	public CallGraphData getCallGraphData(String line) {

		CallGraphData callGraph = new CallGraphData(line);
		
		return callGraph;
	}

}
